'use strict';
const db = uniCloud.database()
exports.main = async (event, context) => {
	
	const res = await db.collection('regions').get()
	
	//返回数据给客户端
	return { data: res.data[0].data, code: 200, msg: 'ok.' }
};
